<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>支付处理</title>
</head>
<body>
<form name="payForm" action="<?=$allinpayServer?>" method="post">
    <?=$form;?>

    <!--<button type="button" onclick="submitAction()">确认支付</button>-->
</form>
</body>
</html>
<script>
    submitAction();

    function submitAction() {
        document.payForm.submit();
    }
</script>